#ifndef MDS_HASTEN_CELLS_DYN_INCLUDED
#define MDS_HASTEN_CELLS_DYN_INCLUDED 1

#include "../dynamics.h"
#include "./cells.h"

#if 0
/** \brief wrapper to compute dynamics by cells
 *
 */
typedef struct
{
	mds_cells *cells;
	mds_pnode *nodes;
} mds_cells_params;
#endif

/** \brief Force/Potential/Virial evaluation
 *	
 *	\param frame  a valid frame with at least position,velocity,acceleration.
 *	\param Vproc  a pair potential/forces function.
 *	\param Vargs  extra arguments for Vproc.
 *	\param params must be the address of mds_cells_dynamics_params
 */
void mds_cells_dynamics_whole(mds_frame         *frame, 
							  mds_potential_proc Vproc, 
							  void              *Vargs,
							  void              *params);

#endif
